import dom, { ajax } from "./init.js";
import * as topevent from "./topswitch/eventhandle.js";

export const obj = { top: "" };
Object.defineProperties(obj, {
  top: {
    enumerable: false,
    writable: true,
    configurable: true,
    value: 0,
  },
});
dom.top.switch.addEventListener("mouseover", topevent.topover);
dom.top.switch.addEventListener("mouseout", topevent.topout);
dom.top.switch.addEventListener("click", topevent.topclick);
